package appapi.Request;

import appapi.common.BaseReq;
import appapi.common.PageReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Yujie
 * @date 2023/5/16 15:35
 * @description:
 */
@Data
public class EquipmentPageReq extends PageReq {

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    private Integer equipTypeId;

    @ApiModelProperty(value = "所属项目")
    private Integer projId;

    @ApiModelProperty(value = "设备编号")
    private String equipNo;

    @ApiModelProperty(value = "所属机构Id")
    private Long orgId;

    @ApiModelProperty(value = "所属机构Ids")
    private List<Long> orgIds;

    @ApiModelProperty(value = "设备名称")
    private String equipName;

    @ApiModelProperty(value = "设备状态")
    private Integer equipState;

    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
